<h1>用户登录</h1>

<% form_for @user_session, :url => user_session_path do |f| %>
  <%#= f.error_messages %>
  <%= f.label :username, "用户名:" %><br />
  <%= f.text_field :username, :onKeyUp => "Login.buttonAble();" %><span class="require">*</span><br />
  <br />
  <%= f.label :password, "密码:" %><br />
  <%= f.password_field :password, :onKeyUp => "Login.buttonAble();" %><span class="require">*</span><br />
  <br />
  <%= f.check_box :remember_me %><%= f.label :remember_me,"记住我" %><br />
  <br />
  <%= f.submit "登录", :disabled => true %>
<% end %>
